From 0b576fe1c0ca20f15e0c26ee23f47b8a8e2896a8 Mon Sep 17 00:00:00 2001 From: "maf46@burn.cl.cam.ac.uk" Date: Thu, 21 Apr 2005 19:13:59 +0000 Subject: [PATCH] bitkeeper revision 1.1359 (4267fb77Hyv3hRzHLAvCoA2BMyz59A) Fix bug introduced in the shadow code with the new page table entry macros. Signed-off-by: michael.fetterman@cl.cam.ac.uk --- xen/arch/x86/shadow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/shadow.c b/xen/arch/x86/shadow.c index 68ef1bb5ae..253eab5043 100644 --- a/xen/arch/x86/shadow.c +++ b/xen/arch/x86/shadow.c @@ -2387,7 +2387,7 @@ void __shadow_sync_all(struct domain *d) l1_pgentry_t *ppte = map_domain_mem(entry->writable_pl1e); l1_pgentry_t opte = *ppte; l1_pgentry_t npte = opte; - l1e_remove_flags(&opte, _PAGE_RW); + l1e_remove_flags(&npte, _PAGE_RW); if ( (l1e_get_flags(npte) & _PAGE_PRESENT) && !shadow_get_page_from_l1e(npte, d) ) -- 2.30.2